using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Canvas.Base;

namespace Canvas.CanvasInterfaces
{
    public interface INodePoint
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        IDrawObject GetClone();
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        IDrawObject GetOriginal();
        /// <summary>
        /// Huy
        /// </summary>
        void Cancel();
        /// <summary>
        /// Hoan thanh
        /// </summary>
        void Finish();
        /// <summary>
        /// Dieu chinh vi tri
        /// </summary>
        /// <param name="pos"></param>
        void SetPosition(UnitPoint pos);
        /// <summary>
        /// lam lai
        /// </summary>
        void Undo();
        /// <summary>
        /// lam tiep
        /// </summary>
        void Redo();
        /// <summary>
        /// su kien bam ban phim
        /// </summary>
        /// <param name="canvas"></param>
        /// <param name="e"></param>
        void OnKeyDown(ICanvas canvas, KeyEventArgs e);
    }
}
